<?

function commonMeta($cTitle) {
	return '<title>'.$cTitle.'</title>
	<meta content="yes" name="apple-mobile-web-app-capable" />
	<meta content="initial-scale=1.0, minimum-scale=1.0, width=device-width, maximum-scale=1.0, user-scalable=no" name="viewport" />
	<meta content="index,follow" name="robots" />
	<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
	
	<link rel="apple-touch-icon" href="pics/homescreen.gif" />
	<link href="css/developer-style.css" rel="stylesheet" media="screen" type="text/css" />
	
	<script src="javascript/functions.js" type="text/javascript"></script>';
}

function myself() {
	return basename($_SERVER["PHP_SELF"]);
}

function getUserLanguage () {
	$brwLang = $_SERVER['HTTP_ACCEPT_LANGUAGE'];
	$acceptedLanguages = preg_split('/,\s*/', $brwLang);
	$prefLanguage = strtolower (substr ($acceptedLanguages[0],0,2) );
	$pattern = '[de|en]';
	if (preg_match ($pattern, $prefLanguage, $out))
		return $out[0];
	else
		return 'EN';
}



function iuiPageHeader() {
}

?>